package com.ruoyi;

import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScans;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 启动程序
 * 
 * @author daozhuang
 */
// mybatis-plus 需要的 只能扫描的 mapper层
@MapperScans({
        @MapperScan("com.ruoyi.mapper")
})
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class AppStart {
    public static void main(String[] args) {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(AppStart.class, args);
        System.out.println("-------------- 启动成功 -------------- ");
    }
}
